package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.NewsAuthDto;
import com.heima.model.wemedia.dtos.WmNewsDto;
import com.heima.model.wemedia.dtos.WmNewsPageReqDto;
import com.heima.model.wemedia.pojos.WmNews;
import org.springframework.web.bind.annotation.RequestBody;

public interface WmNewsService extends IService<WmNews> {

    public ResponseResult FindList( WmNewsPageReqDto dto);

    /*
    *
    * 发布修改文章或保存为草稿
    * */
    public ResponseResult submitNews(WmNewsDto dto);

    /*
    * 查询文章列表
    * */
    ResponseResult findList(NewsAuthDto dto);
}
